package com.ben.notebook.domain;

/**
 * 备忘录状态枚举
 * @date 2020-12-01
 */
public enum NoteStatusEnum {
    /**状态枚举*/
    DRAFT("草稿",'A'),
    PUBLISHED("已发布",'B'),
    DELETED("已删除",'C');

    private final String name;
    private final char value;

    NoteStatusEnum(String name, char value){
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public char getValue() {
        return value;
    }
}
